package com.cyys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cyys.entity.HomePage;
import com.cyys.entity.Takeout;
import com.cyys.mapper.HomePageMapper;
import com.cyys.mapper.TakeoutMapper;
import com.cyys.service.HomePageService;
import com.cyys.service.TakeoutService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Administrator
 * @description TakeoutServiceImpl
 * @date 2022-06-07 10:29
 */
@Service
public class TakeoutServiceImpl  extends ServiceImpl<TakeoutMapper, Takeout> implements TakeoutService {

    @Autowired
    private TakeoutMapper takeoutMapper;

    @Override
    public List<Takeout> listById(Integer cg_id) {
        return this.baseMapper.listById(cg_id);
    }
}
